//
//  RTCIMIVideoView.h
//  IMIHome
//
//  Created by 严敏 on 2020/9/27.
//  Copyright © 2020 上海创米科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "IMIAliVideoView.h"
#import <React/RCTComponent.h>
#import <React/RCTUIManager.h>
#if __has_include(<IMILabKit/ILVideoView.h>)
#import <IMILabKit/ILVideoView.h>
#else
#import <IMILabSDK_VideoKit/ILVideoView.h>

#endif
 
NS_ASSUME_NONNULL_BEGIN

@interface RTCILVideoView : ILVideoView
@property(nonatomic, copy) RCTBubblingEventBlock onPrepared;
@property(nonatomic, copy) RCTBubblingEventBlock onEventChange;
@property(nonatomic, copy) RCTBubblingEventBlock onErrorChange;
@property(nonatomic, copy) RCTBubblingEventBlock onRecordTimeChange;//RCTDirectEventBlock
@property(nonatomic, copy) RCTBubblingEventBlock onVideoViewClick;
@property(nonatomic, copy) RCTBubblingEventBlock onPlayCompletion;
//sdk level 10009 功能
@property(nonatomic, copy) RCTBubblingEventBlock onVideoZoomScale;

@property(nonatomic, strong) NSDictionary *dataSource;
/*@property(nonatomic, copy) NSString *fileName;
@property(nonatomic, assign) NSInteger seekTime;
@property(nonatomic, assign) NSInteger startTime;
@property(nonatomic, assign) NSInteger endTime;*/

@end

NS_ASSUME_NONNULL_END
